import 'package:fish_redux/fish_redux.dart';

enum UserInfoAction { action , chooseSex,  cameraPic,
  choosePic,}

class UserInfoActionCreator {
  static Action onAction() {
    return const Action(UserInfoAction.action);
  }
  static Action onChooseSex(String sexType) {
    return Action(UserInfoAction.chooseSex, payload: sexType);
  }
  static Action onChoosePic() {
    return const Action(UserInfoAction.choosePic);
  }
  static Action onCameraPic() {
    return const Action(UserInfoAction.cameraPic);
  }
}
